package com.ssy.lingxi.product.api.model.request.warehouse;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 仓位信息修改请求实体
 * @author jw.chen
 * @date 2022/3/29
 */
@Data
public class FreightSpaceUpdateInventoryRequest implements Serializable {
    private static final long serialVersionUID = -2044681041468980622L;

    /**
     *仓位ID
     */
    @NotNull(message = "仓位ID不能为空")
    private Long id;

    /**
     *分配仓位库存
     */
    @NotNull(message = "分配仓位库存不能为空")
    private Double inventory;

}
